package org.bangumibuddy.constant;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.EnumSerializer;

@JsonFormat(shape = JsonFormat.Shape.NUMBER_INT)
public enum DownloadStatus {
    DOWNLOADING,
    UPLOADING,
    COMPLETED,
    MISSING_FILE,
    PAUSED_UP,
    QUEUED_UP,
    STALLED_UP,
    CHECKING_UP,
    FORCED_UP,
    ALLOCATING,
    META_DL,
    PAUSED_DL,
    QUEUED_DL,
    STALLED_DL,
    CHECKING_DL,
    FORCED_DL,
    CHECKING_RESUME_DATA,
    MOVING,
    UNKNOWN,
    ERROR,
    FINISHED,
}
